export const tableOption ={
  labelPosition: "right",
  labelSuffix: "：",
  labelWidth: 120,
  gutter: 0,
  menuBtn: true,
  submitBtn: true,
  submitText: "提交",
  emptyBtn: true,
  emptyText: "清空",
  menuPosition: "center",
  border: true,
  index: true,
  indexLabel: "序号",
  stripe: true,
  menuAlign: "center",
  align: "center",
  searchMenuSpan: 6,
  addBtn: false,
  addRowBtn: true,
  cellBtn: true,
  searchEnter: true,
  column: [
    {
      type: "input",
      label: "品号",
      span: 12,
      display: true,
      prop: "articleNumber",
      required: true,
      rules: [
        {
          required: true,
          message: "品号必须填写"
        }
      ],
      cell: true,
    },
    {
      type: "textarea",
      label: "备注",
      span: 24,
      display: true,
      prop: "remarks",
      cell: true,
    },
    {
      prop: "createBy",
      span: 12,
      type: "input",
      label: "创建人",
      dicUrl: "/admin/user/getAllUser",
      props: {
        label: "name",
        value: "username"
      },
      dicMethod: "get",
      display: false,
      hide: false
    },
    {
      prop: "createTime",
      span: 12,
      type: "datetime",
      label: "创建时间",
      format: "yyyy-MM-dd HH:mm:ss",
      display: false,
      hide: false,
      valueFormat: "yyyy-MM-dd HH:mm:ss"
    }
  ],
}

